<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"  %>
<h4>
	COMMENTS:
</h4>
<table class="table table-striped table-bordered table-condensed">
	<tr>
		<td><b>ID</b></td>
		<td><b>DESCRIPTION</b></td>
		<td><b>USER</b></td>
	<tr/>
	<s:iterator value="comments">
		<tr>
			<td><s:property value="id" /></td>
			<td><s:property value="description" /></td>
			<td><s:property value="userPerson.lastName" /> &nbsp; <s:property value="userPerson.name" /></td>
			<td><a href="#" onclick="deleteComment(<s:property value="id" />)"><img src="img/delete.jpg"/></a>
		</tr>
	</s:iterator>
</table>